Package-level declarations

Types

Link copied to clipboard

Delegations provider implementation.

Link copied to clipboard

Errors specific to the high-level delegation submit flows.

Link copied to clipboard
typealias DelegationSignAndSend = suspend (transaction: DelegationTransaction, chainId: String) -> String

Signer function used by the high-level delegation submit methods.

Link copied to clipboard
data class DelegationSubmitOptions(val signAndSendTransaction: DelegationSignAndSend? = null, val onProgress: (DelegationSubmitProgress) -> Unit? = null)

Per-call options for the high-level delegation submit methods.

Link copied to clipboard
data class DelegationSubmitProgress(val step: DelegationSubmitStep, val index: Int, val total: Int, val hash: String? = null)

Progress event emitted during a high-level delegation submit flow.

Link copied to clipboard
data class DelegationSubmitResult(val hashes: List<String>)

Result of a high-level delegation submit flow.

Link copied to clipboard

The step of a high-level delegation submit flow, emitted via DelegationSubmitOptions.onProgress.

Link copied to clipboard

A single transaction to be signed and broadcast by a delegation submit flow.